package com.anolesoft.yr.store.stk.service;

import com.anolesoft.yr.store.stk.dto.StkMainDTO;
import com.anolesoft.yr.store.stk.entity.StkMainExample;
import java.util.List;
import com.anolesoft.yr.store.stk.entity.StkMain;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
public interface StkMainService extends IService<StkMain>{


    long countByExample(StkMainExample example);

    int deleteByExample(StkMainExample example);

    List<StkMain> selectByExample(StkMainExample example);

    int updateByExampleSelective(StkMain record,StkMainExample example);

    int updateByExample(StkMain record,StkMainExample example);

    int updateBatch(List<StkMain> list);

    int updateBatchSelective(List<StkMain> list);

    int batchInsert(List<StkMain> list);

    int insertOrUpdate(StkMain record);

    int insertOrUpdateSelective(StkMain record);

    <E extends IPage<StkMain>> List<StkMainDTO> pageUnion(E page, Wrapper<StkMain> queryWrapper);
}
